﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class LiteralString
    {
        public static implicit operator LiteralString(string value)
        {
            return new LiteralString(value);
        }

        public string Value
        {
            get;
            set;
        }

        public LiteralString(string value)
        {
            Value = value;
        }

        public override string ToString()
        {
            if (Value == null)
            {
                return "null";
            }
            else
            {
                return Value;
            }
        }
    }
}
